package com.ruikong.dazhi.service.base;

import com.ruikong.dazhi.controller.result.BaseResult;
import com.ruikong.dazhi.model.input.ChangePasswordInput;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.io.UnsupportedEncodingException;

public interface ILoginService {
    int checkLogin(String account, String password, BaseResult result, HttpSession httpSession, HttpServletRequest request) throws UnsupportedEncodingException;

    void loginOut(HttpSession httpSession, HttpServletRequest request);


    int changePassword(BaseResult result, ChangePasswordInput changePasswordInput);
}
